<template include="./plugin/xxx_theme_flarum/view/htm/my_thread.template.htm">
    <slot name="my_body">
        <div class="DiscussionList DiscussionList--searchResults">
            <ul class="DiscussionList-discussions threadlist">
                <?php include _include(APP_PATH.'view/htm/thread_list.inc.htm');?>
            </ul>
            <div class="DiscussionList-loadMore">
                <?php if($pagination) { ?>
                <nav><ul class="pagination justify-content-center flex-wrap"><?php echo $pagination; ?></ul></nav>
                <?php } ?>
            </div>
        </div>
    </slot>
</template>

<script>
$('li[data-active="my-thread"]').addClass('active');
</script>
